home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
csim
/
source.lha
/
source
/
C++SIM
/
Examples
/
Arrivals.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-06-14
|
480b
|
37 lines
/*
* Copyright (C) 1993
*
* Department of Computing Science,
* The University,
* Newcastle upon Tyne,
* UK.
*/
#ifndef ARRIVALS_H_
#define ARRIVALS_H_
#ifndef PROCESS_H_
#include <Process.h>
#endif
#ifndef RANDOM_H_
#include <Random.h>
#endif
/* Controls the rate at which Jobs arrive at the Machine */
class Arrivals : public Process
{
public:
Arrivals (double);
~Arrivals ();
void Body ();
private:
ExponentialStream* InterArrivalTime;
};
#endif